\(\int \frac {\sec ^{\frac {3}{2}}(c+d x) (A+B \sec (c+d x))}{\sqrt {a+b \sec (c+d x)}} \, dx\) [457]
Optimal result
Integrand size = 35, antiderivative size = 256 \[
\int \frac {\sec ^{\frac {3}{2}}(c+d x) (A+B \sec (c+d x))}{\sqrt {a+b \sec (c+d x)}} \, dx=\frac {B \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),\frac {2 a}{a+b}\right ) \sqrt {\sec (c+d x)}}{d \sqrt {a+b \sec (c+d x)}}+\frac {(2 A b-a B) \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \operatorname {EllipticPi}\left (2,\frac {1}{2} (c+d x),\frac {2 a}{a+b}\right ) \sqrt {\sec (c+d x)}}{b d \sqrt {a+b \sec (c+d x)}}-\frac {B E\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right ) \sqrt {a+b \sec (c+d x)}}{b d \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \sqrt {\sec (c+d x)}}+\frac {B \sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{b d}
\]
[Out]
B*(cos(1/2*d*x+1/2*c)^2)^(1/2)/cos(1/2*d*x+1/2*c)*EllipticF(sin(1/2*d*x+1/2*c),2^(1/2)*(a/(a+b))^(1/2))*((b+a*
cos(d*x+c))/(a+b))^(1/2)*sec(d*x+c)^(1/2)/d/(a+b*sec(d*x+c))^(1/2)+(2*A*b-B*a)*(cos(1/2*d*x+1/2*c)^2)^(1/2)/co
s(1/2*d*x+1/2*c)*EllipticPi(sin(1/2*d*x+1/2*c),2,2^(1/2)*(a/(a+b))^(1/2))*((b+a*cos(d*x+c))/(a+b))^(1/2)*sec(d
*x+c)^(1/2)/b/d/(a+b*sec(d*x+c))^(1/2)-B*(cos(1/2*d*x+1/2*c)^2)^(1/2)/cos(1/2*d*x+1/2*c)*EllipticE(sin(1/2*d*x
+1/2*c),2^(1/2)*(a/(a+b))^(1/2))*(a+b*sec(d*x+c))^(1/2)/b/d/((b+a*cos(d*x+c))/(a+b))^(1/2)/sec(d*x+c)^(1/2)+B*
sin(d*x+c)*sec(d*x+c)^(1/2)*(a+b*sec(d*x+c))^(1/2)/b/d
Rubi [A] (verified)
Time = 0.85 (sec) , antiderivative size = 256, normalized size of antiderivative = 1.00, number of
steps used = 12, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.343, Rules used = {4118, 4194, 3944, 2886,
2884, 3947, 3941, 2734, 2732, 3943, 2742, 2740} \[
\int \frac {\sec ^{\frac {3}{2}}(c+d x) (A+B \sec (c+d x))}{\sqrt {a+b \sec (c+d x)}} \, dx=\frac {(2 A b-a B) \sqrt {\sec (c+d x)} \sqrt {\frac {a \cos (c+d x)+b}{a+b}} \operatorname {EllipticPi}\left (2,\frac {1}{2} (c+d x),\frac {2 a}{a+b}\right )}{b d \sqrt {a+b \sec (c+d x)}}+\frac {B \sin (c+d x) \sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)}}{b d}+\frac {B \sqrt {\sec (c+d x)} \sqrt {\frac {a \cos (c+d x)+b}{a+b}} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),\frac {2 a}{a+b}\right )}{d \sqrt {a+b \sec (c+d x)}}-\frac {B \sqrt {a+b \sec (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right )}{b d \sqrt {\sec (c+d x)} \sqrt {\frac {a \cos (c+d x)+b}{a+b}}}
\]
[In]
Int[(Sec[c + d*x]^(3/2)*(A + B*Sec[c + d*x]))/Sqrt[a + b*Sec[c + d*x]],x]
[Out]
(B*Sqrt[(b + a*Cos[c + d*x])/(a + b)]*EllipticF[(c + d*x)/2, (2*a)/(a + b)]*Sqrt[Sec[c + d*x]])/(d*Sqrt[a + b*
Sec[c + d*x]]) + ((2*A*b - a*B)*Sqrt[(b + a*Cos[c + d*x])/(a + b)]*EllipticPi[2, (c + d*x)/2, (2*a)/(a + b)]*S
qrt[Sec[c + d*x]])/(b*d*Sqrt[a + b*Sec[c + d*x]]) - (B*EllipticE[(c + d*x)/2, (2*a)/(a + b)]*Sqrt[a + b*Sec[c
+ d*x]])/(b*d*Sqrt[(b + a*Cos[c + d*x])/(a + b)]*Sqrt[Sec[c + d*x]]) + (B*Sqrt[Sec[c + d*x]]*Sqrt[a + b*Sec[c
+ d*x]]*Sin[c + d*x])/(b*d)
Rule 2732
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[2*(Sqrt[a + b]/d)*EllipticE[(1/2)*(c - Pi/2
+ d*x), 2*(b/(a + b))], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Rule 2734
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[Sqrt[a + b*Sin[c + d*x]]/Sqrt[(a + b*Sin[c +
d*x])/(a + b)], Int[Sqrt[a/(a + b) + (b/(a + b))*Sin[c + d*x]], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 -
b^2, 0] && !GtQ[a + b, 0]
Rule 2740
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/(d*Sqrt[a + b]))*EllipticF[(1/2)*(c - P
i/2 + d*x), 2*(b/(a + b))], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Rule 2742
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[Sqrt[(a + b*Sin[c + d*x])/(a + b)]/Sqrt[a
+ b*Sin[c + d*x]], Int[1/Sqrt[a/(a + b) + (b/(a + b))*Sin[c + d*x]], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a
^2 - b^2, 0] && !GtQ[a + b, 0]
Rule 2884
Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp
[(2/(f*(a + b)*Sqrt[c + d]))*EllipticPi[2*(b/(a + b)), (1/2)*(e - Pi/2 + f*x), 2*(d/(c + d))], x] /; FreeQ[{a,
b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[c + d, 0]
Rule 2886
Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Dist
[Sqrt[(c + d*Sin[e + f*x])/(c + d)]/Sqrt[c + d*Sin[e + f*x]], Int[1/((a + b*Sin[e + f*x])*Sqrt[c/(c + d) + (d/
(c + d))*Sin[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && N
eQ[c^2 - d^2, 0] && !GtQ[c + d, 0]
Rule 3941
Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]/Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.)], x_Symbol] :> Dist[Sqrt[a +
b*Csc[e + f*x]]/(Sqrt[d*Csc[e + f*x]]*Sqrt[b + a*Sin[e + f*x]]), Int[Sqrt[b + a*Sin[e + f*x]], x], x] /; Free
Q[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0]
Rule 3943
Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.)]/Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Dist[Sqrt[d*C
sc[e + f*x]]*(Sqrt[b + a*Sin[e + f*x]]/Sqrt[a + b*Csc[e + f*x]]), Int[1/Sqrt[b + a*Sin[e + f*x]], x], x] /; Fr
eeQ[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0]
Rule 3944
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(3/2)/Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Dist[d*Sqrt
[d*Csc[e + f*x]]*(Sqrt[b + a*Sin[e + f*x]]/Sqrt[a + b*Csc[e + f*x]]), Int[1/(Sin[e + f*x]*Sqrt[b + a*Sin[e + f
*x]]), x], x] /; FreeQ[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0]
Rule 3947
Int[1/(Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.)]*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]), x_Symbol] :> Dist[1/a,
Int[Sqrt[a + b*Csc[e + f*x]]/Sqrt[d*Csc[e + f*x]], x], x] - Dist[b/(a*d), Int[Sqrt[d*Csc[e + f*x]]/Sqrt[a + b
*Csc[e + f*x]], x], x] /; FreeQ[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0]
Rule 4118
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_)*(csc[(e_.) + (f_.)*(x_)]*
(B_.) + (A_)), x_Symbol] :> Simp[(-B)*d^2*Cot[e + f*x]*(a + b*Csc[e + f*x])^(m + 1)*((d*Csc[e + f*x])^(n - 2)/
(b*f*(m + n))), x] + Dist[d^2/(b*(m + n)), Int[(a + b*Csc[e + f*x])^m*(d*Csc[e + f*x])^(n - 2)*Simp[a*B*(n - 2
) + B*b*(m + n - 1)*Csc[e + f*x] + (A*b*(m + n) - a*B*(n - 1))*Csc[e + f*x]^2, x], x], x] /; FreeQ[{a, b, d, e
, f, A, B, m}, x] && NeQ[A*b - a*B, 0] && NeQ[a^2 - b^2, 0] && GtQ[n, 1] && NeQ[m + n, 0] && !IGtQ[m, 1]
Rule 4194
Int[((A_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.))/(Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.)]*Sqrt[csc[(e_.) + (f_.)*(x_)
]*(b_.) + (a_)]), x_Symbol] :> Dist[C/d^2, Int[(d*Csc[e + f*x])^(3/2)/Sqrt[a + b*Csc[e + f*x]], x], x] + Dist[
A, Int[1/(Sqrt[d*Csc[e + f*x]]*Sqrt[a + b*Csc[e + f*x]]), x], x] /; FreeQ[{a, b, d, e, f, A, C}, x] && NeQ[a^2
- b^2, 0]
Rubi steps \begin{align*}
\text {integral}& = \frac {B \sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{b d}+\frac {\int \frac {-\frac {a B}{2}+\frac {1}{2} (2 A b-a B) \sec ^2(c+d x)}{\sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)}} \, dx}{b} \\ & = \frac {B \sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{b d}-\frac {(a B) \int \frac {1}{\sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)}} \, dx}{2 b}+\frac {(2 A b-a B) \int \frac {\sec ^{\frac {3}{2}}(c+d x)}{\sqrt {a+b \sec (c+d x)}} \, dx}{2 b} \\ & = \frac {B \sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{b d}+\frac {1}{2} B \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {a+b \sec (c+d x)}} \, dx-\frac {B \int \frac {\sqrt {a+b \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx}{2 b}+\frac {\left ((2 A b-a B) \sqrt {b+a \cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sec (c+d x)}{\sqrt {b+a \cos (c+d x)}} \, dx}{2 b \sqrt {a+b \sec (c+d x)}} \\ & = \frac {B \sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{b d}+\frac {\left (B \sqrt {b+a \cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {b+a \cos (c+d x)}} \, dx}{2 \sqrt {a+b \sec (c+d x)}}+\frac {\left ((2 A b-a B) \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \sqrt {\sec (c+d x)}\right ) \int \frac {\sec (c+d x)}{\sqrt {\frac {b}{a+b}+\frac {a \cos (c+d x)}{a+b}}} \, dx}{2 b \sqrt {a+b \sec (c+d x)}}-\frac {\left (B \sqrt {a+b \sec (c+d x)}\right ) \int \sqrt {b+a \cos (c+d x)} \, dx}{2 b \sqrt {b+a \cos (c+d x)} \sqrt {\sec (c+d x)}} \\ & = \frac {(2 A b-a B) \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \operatorname {EllipticPi}\left (2,\frac {1}{2} (c+d x),\frac {2 a}{a+b}\right ) \sqrt {\sec (c+d x)}}{b d \sqrt {a+b \sec (c+d x)}}+\frac {B \sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{b d}+\frac {\left (B \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\frac {b}{a+b}+\frac {a \cos (c+d x)}{a+b}}} \, dx}{2 \sqrt {a+b \sec (c+d x)}}-\frac {\left (B \sqrt {a+b \sec (c+d x)}\right ) \int \sqrt {\frac {b}{a+b}+\frac {a \cos (c+d x)}{a+b}} \, dx}{2 b \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \sqrt {\sec (c+d x)}} \\ & = \frac {B \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),\frac {2 a}{a+b}\right ) \sqrt {\sec (c+d x)}}{d \sqrt {a+b \sec (c+d x)}}+\frac {(2 A b-a B) \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \operatorname {EllipticPi}\left (2,\frac {1}{2} (c+d x),\frac {2 a}{a+b}\right ) \sqrt {\sec (c+d x)}}{b d \sqrt {a+b \sec (c+d x)}}-\frac {B E\left (\frac {1}{2} (c+d x)|\frac {2 a}{a+b}\right ) \sqrt {a+b \sec (c+d x)}}{b d \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \sqrt {\sec (c+d x)}}+\frac {B \sqrt {\sec (c+d x)} \sqrt {a+b \sec (c+d x)} \sin (c+d x)}{b d} \\
\end{align*}
Mathematica [C] (verified)
Result contains complex when optimal does not.
Time = 15.24 (sec) , antiderivative size = 339, normalized size of antiderivative = 1.32
\[
\int \frac {\sec ^{\frac {3}{2}}(c+d x) (A+B \sec (c+d x))}{\sqrt {a+b \sec (c+d x)}} \, dx=\frac {\sqrt {\sec (c+d x)} \left (2 (4 A b-3 a B) \sqrt {\frac {b+a \cos (c+d x)}{a+b}} \operatorname {EllipticPi}\left (2,\frac {1}{2} (c+d x),\frac {2 a}{a+b}\right )-\frac {2 i B \sqrt {-\frac {a (-1+\cos (c+d x))}{a+b}} \sqrt {\frac {a (1+\cos (c+d x))}{a-b}} \sqrt {b+a \cos (c+d x)} \csc (c+d x) \left (-2 b (a+b) E\left (i \text {arcsinh}\left (\sqrt {\frac {1}{a-b}} \sqrt {b+a \cos (c+d x)}\right )|\frac {-a+b}{a+b}\right )+a \left (2 b \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {\frac {1}{a-b}} \sqrt {b+a \cos (c+d x)}\right ),\frac {-a+b}{a+b}\right )+a \operatorname {EllipticPi}\left (1-\frac {a}{b},i \text {arcsinh}\left (\sqrt {\frac {1}{a-b}} \sqrt {b+a \cos (c+d x)}\right ),\frac {-a+b}{a+b}\right )\right )\right )}{a \sqrt {\frac {1}{a-b}} b}+4 B (b+a \cos (c+d x)) \tan (c+d x)\right )}{4 b d \sqrt {a+b \sec (c+d x)}}
\]
[In]
Integrate[(Sec[c + d*x]^(3/2)*(A + B*Sec[c + d*x]))/Sqrt[a + b*Sec[c + d*x]],x]
[Out]
(Sqrt[Sec[c + d*x]]*(2*(4*A*b - 3*a*B)*Sqrt[(b + a*Cos[c + d*x])/(a + b)]*EllipticPi[2, (c + d*x)/2, (2*a)/(a
+ b)] - ((2*I)*B*Sqrt[-((a*(-1 + Cos[c + d*x]))/(a + b))]*Sqrt[(a*(1 + Cos[c + d*x]))/(a - b)]*Sqrt[b + a*Cos[
c + d*x]]*Csc[c + d*x]*(-2*b*(a + b)*EllipticE[I*ArcSinh[Sqrt[(a - b)^(-1)]*Sqrt[b + a*Cos[c + d*x]]], (-a + b
)/(a + b)] + a*(2*b*EllipticF[I*ArcSinh[Sqrt[(a - b)^(-1)]*Sqrt[b + a*Cos[c + d*x]]], (-a + b)/(a + b)] + a*El
lipticPi[1 - a/b, I*ArcSinh[Sqrt[(a - b)^(-1)]*Sqrt[b + a*Cos[c + d*x]]], (-a + b)/(a + b)])))/(a*Sqrt[(a - b)
^(-1)]*b) + 4*B*(b + a*Cos[c + d*x])*Tan[c + d*x]))/(4*b*d*Sqrt[a + b*Sec[c + d*x]])
Maple [C] (verified)
Result contains complex when optimal does not.
Time = 18.39 (sec) , antiderivative size = 1507, normalized size of antiderivative =
5.89
| | |
method | result | size |
| | |
parts |
\(\text {Expression too large to display}\) |
\(1507\) |
default |
\(\text {Expression too large to display}\) |
\(2206\) |
| | |
|
|
|
[In]
int(sec(d*x+c)^(3/2)*(A+B*sec(d*x+c))/(a+b*sec(d*x+c))^(1/2),x,method=_RETURNVERBOSE)
[Out]
-2*A/d/((a-b)/(a+b))^(1/2)*(EllipticF(((a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(-(a+b)/(a-b))^(1/2))-2*Ell
ipticPi(((a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(a+b)/(a-b),I/((a-b)/(a+b))^(1/2)))*(a+b*sec(d*x+c))^(1/2
)*sec(d*x+c)^(3/2)*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*cos(d*x+c)^2/(b+a*cos(d*x+c))/(1/(cos(d*x+c
)+1))^(1/2)-B/d/((a-b)/(a+b))^(1/2)/b*sec(d*x+c)^(5/2)*(a+b*sec(d*x+c))^(1/2)/(b+a*cos(d*x+c))/(cos(d*x+c)+1)*
((1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*(1/(cos(d*x+c)+1))^(1/2)*EllipticE(((a-b)/(a+b))^(1/2)*(-cot(
d*x+c)+csc(d*x+c)),(-(a+b)/(a-b))^(1/2))*a*cos(d*x+c)^5-(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*(1/(co
s(d*x+c)+1))^(1/2)*EllipticE(((a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(-(a+b)/(a-b))^(1/2))*b*cos(d*x+c)^5
-2*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*(1/(cos(d*x+c)+1))^(1/2)*EllipticF(((a-b)/(a+b))^(1/2)*(-co
t(d*x+c)+csc(d*x+c)),(-(a+b)/(a-b))^(1/2))*a*cos(d*x+c)^5+2*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*(1
/(cos(d*x+c)+1))^(1/2)*EllipticPi(((a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(a+b)/(a-b),I/((a-b)/(a+b))^(1/
2))*a*cos(d*x+c)^5+2*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*(1/(cos(d*x+c)+1))^(1/2)*EllipticE(((a-b)
/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(-(a+b)/(a-b))^(1/2))*a*cos(d*x+c)^4-2*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d
*x+c)+1))^(1/2)*(1/(cos(d*x+c)+1))^(1/2)*EllipticE(((a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(-(a+b)/(a-b))
^(1/2))*b*cos(d*x+c)^4-4*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*(1/(cos(d*x+c)+1))^(1/2)*EllipticF(((
a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(-(a+b)/(a-b))^(1/2))*a*cos(d*x+c)^4+4*(1/(a+b)*(b+a*cos(d*x+c))/(c
os(d*x+c)+1))^(1/2)*(1/(cos(d*x+c)+1))^(1/2)*EllipticPi(((a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(a+b)/(a-
b),I/((a-b)/(a+b))^(1/2))*a*cos(d*x+c)^4+EllipticE(((a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(-(a+b)/(a-b))
^(1/2))*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*(1/(cos(d*x+c)+1))^(1/2)*a*cos(d*x+c)^3-EllipticE(((a-
b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(-(a+b)/(a-b))^(1/2))*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)
*(1/(cos(d*x+c)+1))^(1/2)*b*cos(d*x+c)^3-2*EllipticF(((a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(-(a+b)/(a-b
))^(1/2))*(1/(cos(d*x+c)+1))^(1/2)*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*a*cos(d*x+c)^3+2*EllipticPi
(((a-b)/(a+b))^(1/2)*(-cot(d*x+c)+csc(d*x+c)),(a+b)/(a-b),I/((a-b)/(a+b))^(1/2))*(1/(a+b)*(b+a*cos(d*x+c))/(co
s(d*x+c)+1))^(1/2)*(1/(cos(d*x+c)+1))^(1/2)*a*cos(d*x+c)^3-((a-b)/(a+b))^(1/2)*a*cos(d*x+c)^3*sin(d*x+c)-((a-b
)/(a+b))^(1/2)*b*sin(d*x+c)*cos(d*x+c)^2)
Fricas [F(-1)]
Timed out. \[
\int \frac {\sec ^{\frac {3}{2}}(c+d x) (A+B \sec (c+d x))}{\sqrt {a+b \sec (c+d x)}} \, dx=\text {Timed out}
\]
[In]
integrate(sec(d*x+c)^(3/2)*(A+B*sec(d*x+c))/(a+b*sec(d*x+c))^(1/2),x, algorithm="fricas")
[Out]
Timed out
Sympy [F(-1)]
Timed out. \[
\int \frac {\sec ^{\frac {3}{2}}(c+d x) (A+B \sec (c+d x))}{\sqrt {a+b \sec (c+d x)}} \, dx=\text {Timed out}
\]
[In]
integrate(sec(d*x+c)**(3/2)*(A+B*sec(d*x+c))/(a+b*sec(d*x+c))**(1/2),x)
[Out]
Timed out
Maxima [F]
\[
\int \frac {\sec ^{\frac {3}{2}}(c+d x) (A+B \sec (c+d x))}{\sqrt {a+b \sec (c+d x)}} \, dx=\int { \frac {{\left (B \sec \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )^{\frac {3}{2}}}{\sqrt {b \sec \left (d x + c\right ) + a}} \,d x }
\]
[In]
integrate(sec(d*x+c)^(3/2)*(A+B*sec(d*x+c))/(a+b*sec(d*x+c))^(1/2),x, algorithm="maxima")
[Out]
integrate((B*sec(d*x + c) + A)*sec(d*x + c)^(3/2)/sqrt(b*sec(d*x + c) + a), x)
Giac [F]
\[
\int \frac {\sec ^{\frac {3}{2}}(c+d x) (A+B \sec (c+d x))}{\sqrt {a+b \sec (c+d x)}} \, dx=\int { \frac {{\left (B \sec \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )^{\frac {3}{2}}}{\sqrt {b \sec \left (d x + c\right ) + a}} \,d x }
\]
[In]
integrate(sec(d*x+c)^(3/2)*(A+B*sec(d*x+c))/(a+b*sec(d*x+c))^(1/2),x, algorithm="giac")
[Out]
integrate((B*sec(d*x + c) + A)*sec(d*x + c)^(3/2)/sqrt(b*sec(d*x + c) + a), x)
Mupad [F(-1)]
Timed out. \[
\int \frac {\sec ^{\frac {3}{2}}(c+d x) (A+B \sec (c+d x))}{\sqrt {a+b \sec (c+d x)}} \, dx=\int \frac {\left (A+\frac {B}{\cos \left (c+d\,x\right )}\right )\,{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{3/2}}{\sqrt {a+\frac {b}{\cos \left (c+d\,x\right )}}} \,d x
\]
[In]
int(((A + B/cos(c + d*x))*(1/cos(c + d*x))^(3/2))/(a + b/cos(c + d*x))^(1/2),x)
[Out]
int(((A + B/cos(c + d*x))*(1/cos(c + d*x))^(3/2))/(a + b/cos(c + d*x))^(1/2), x)